package com.tianji.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.domain.po.ChatSession;
import com.tianji.domain.vo.ChatHistoryVO;
import com.tianji.domain.vo.SessionVO;

import java.util.List;
import java.util.Map;

public interface ChatSessionService extends IService<ChatSession> {
    SessionVO returnQuestion(Integer n);

    List<SessionVO.Example> getHotQuestions(Integer n);
    void updateChatSessionTittle(String sessionId, String tittle,Long userId);

    Map<String, List<ChatHistoryVO>> getHistoryRecord();
}
